/**
 * 菜单相关
 */

import axios from '@/utils/axios'

// 获取当前用户拥有的页面
export const tree = params => axios({
  url: '/api/v1/menu/tree',
  method: 'GET',
  params
})
